public class InstanceOfTest {
	public static void main(String[] args) {
		Employee e = new Employee();
		Manager m = new Manager();

		System.out.println("Employee is instanceof Employee? " + (e instanceof Employee));
		System.out.println("Manager is instanceof Employee? " + (m instanceof Employee));
		System.out.println("Employee is instanceof Manager? " + (e instanceof Manager));

		System.out.println(char[].class.getName());
	}
}

class Employee {

}

class Manager extends Employee {

}